import Vue from 'vue';

const header = r => require.ensure([], () => r(require('./header')), 'header');

const LeftAside = r => require.ensure([], () => r(require('./home/left-aside')), 'LeftAside');

const Main = r => require.ensure([], () => r(require('./home/main')), 'Main');

// 头部导航栏
Vue.component('NavHeader', header)

// 左边导航栏
Vue.component('LeftAside', LeftAside)

// 内容
Vue.component('Main', Main)
